package com.sgb.kjwl.model.entity.pricecheck;

import java.util.Objects;

/**
 * @author Administrator
 */
public class InvitedCompany {


    /**
     * provinceName : 新疆维吾尔自治区
     * provinceNo : 650000
     * supplier : 201908157799913
     * supplierName : 西安市东明汽车修理厂
     * flag:0非会员 1表会员
     */

    private String provinceName;
    private String provinceNo;
    private String supplier;
    private String supplierName;
    private int flag;

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getProvinceNo() {
        return provinceNo;
    }

    public void setProvinceNo(String provinceNo) {
        this.provinceNo = provinceNo;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return "InvitedCompany{" +
                "provinceName='" + provinceName + '\'' +
                ", provinceNo='" + provinceNo + '\'' +
                ", supplier='" + supplier + '\'' +
                ", supplierName='" + supplierName + '\'' +
                ", flag=" + flag +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        InvitedCompany that = (InvitedCompany) o;
        return flag == that.flag &&
                Objects.equals(provinceName, that.provinceName) &&
                Objects.equals(provinceNo, that.provinceNo) &&
                Objects.equals(supplier, that.supplier) &&
                Objects.equals(supplierName, that.supplierName);
    }

    @Override
    public int hashCode() {
        return Objects.hash(provinceName, provinceNo, supplier, supplierName, flag);
    }
}
